package com.sp.es.modal;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;
import java.util.Date;

public class UniUaStaffInPosition implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4767855178448253549L;
	

	@Field(type = FieldType.Keyword)
    private Long inPositionId;
    @Field(type = FieldType.Keyword)
    private String staffCode;
    @Field(type = FieldType.Keyword)
    private String orgCode;
    @Field(type = FieldType.Keyword)
    private String positionCode;
    @Field(type = FieldType.Keyword)
    private String inPositionType;
    @Field(type = FieldType.Keyword)
    private String staffStatus;
    @Field(type = FieldType.Keyword)
    private String salaryStatus;
    @Field(type = FieldType.Keyword)
    private String action;
    @Field(type = FieldType.Keyword)
    private String deptEntryDate;
    @Field(type = FieldType.Keyword)
    private String supervisorId;
    @Field(type = FieldType.Keyword)
    private String indirectTo;
    @Field(type = FieldType.Keyword)
    private String jobGrade;
    @Field(type = FieldType.Keyword)
    private String costCenter;
    @Field(type = FieldType.Keyword)
    private String attrLine;
    @Field(type = FieldType.Keyword)
    private String expandLever;
    @Field(type = FieldType.Keyword)
    private String busiUnitCode;
    @Field(type = FieldType.Keyword)
    private String laborExp;
    @Field(type = FieldType.Keyword)
    private String company;
    @Field(type= FieldType.Date,format = DateFormat.custom,pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date validDate;
    @Field(type= FieldType.Date,format = DateFormat.custom,pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date expireDate;
    @Field(type = FieldType.Keyword)
    private String dataStatus;
    @Field(type= FieldType.Date,format = DateFormat.custom,pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;
    @Field(type = FieldType.Keyword)
    private String createOpId;
    @Field(type = FieldType.Keyword)
    private String createOrgId;
    @Field(type = FieldType.Keyword)
    private Long doneCode;
    @Field(type= FieldType.Date,format = DateFormat.custom,pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern ="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date doneDate;
    @Field(type = FieldType.Keyword)
    private String opId;
    @Field(type = FieldType.Keyword)
    private String orgId;
    @Field(type = FieldType.Keyword)
    private String regionId;
    @Field(type = FieldType.Keyword)
    private String workPlace;
    @Field(type = FieldType.Keyword)
    private String jobCode;
    @Field(type = FieldType.Keyword)
    private String jobDesc;
    @Field(type = FieldType.Keyword)
    private String managerLvlType;
    @Field(type = FieldType.Keyword)
    private String setIdDept;
    @Field(type = FieldType.Keyword)
    private String setIdJobCode;
    @Field(type = FieldType.Keyword)
    private String setIdLocation;
    @Field(type = FieldType.Keyword)
    private String asWorkExperience;
    @Field(type = FieldType.Keyword)
    private String positionId;
    @Field(type = FieldType.Keyword)
    private String  sort;
    @Field(type = FieldType.Keyword)
    private String  actionReason;


    public Long getInPositionId() {
        return inPositionId;
    }

    public void setInPositionId(Long inPositionId) {
        this.inPositionId = inPositionId;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getPositionCode() {
        return positionCode;
    }

    public void setPositionCode(String positionCode) {
        this.positionCode = positionCode;
    }

    public String getInPositionType() {
        return inPositionType;
    }

    public void setInPositionType(String inPositionType) {
        this.inPositionType = inPositionType;
    }

    public String getStaffStatus() {
        return staffStatus;
    }

    public void setStaffStatus(String staffStatus) {
        this.staffStatus = staffStatus;
    }

    public String getSalaryStatus() {
        return salaryStatus;
    }

    public void setSalaryStatus(String salaryStatus) {
        this.salaryStatus = salaryStatus;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getDeptEntryDate() {
        return deptEntryDate;
    }

    public void setDeptEntryDate(String deptEntryDate) {
        this.deptEntryDate = deptEntryDate;
    }

    public String getSupervisorId() {
        return supervisorId;
    }

    public void setSupervisorId(String supervisorId) {
        this.supervisorId = supervisorId;
    }

    public String getIndirectTo() {
        return indirectTo;
    }

    public void setIndirectTo(String indirectTo) {
        this.indirectTo = indirectTo;
    }

    public String getJobGrade() {
        return jobGrade;
    }

    public void setJobGrade(String jobGrade) {
        this.jobGrade = jobGrade;
    }

    public String getCostCenter() {
        return costCenter;
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public String getAttrLine() {
        return attrLine;
    }

    public void setAttrLine(String attrLine) {
        this.attrLine = attrLine;
    }

    public String getExpandLever() {
        return expandLever;
    }

    public void setExpandLever(String expandLever) {
        this.expandLever = expandLever;
    }

    public String getBusiUnitCode() {
        return busiUnitCode;
    }

    public void setBusiUnitCode(String busiUnitCode) {
        this.busiUnitCode = busiUnitCode;
    }

    public String getLaborExp() {
        return laborExp;
    }

    public void setLaborExp(String laborExp) {
        this.laborExp = laborExp;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Date getValidDate() {
        return validDate;
    }

    public void setValidDate(Date validDate) {
        this.validDate = validDate;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public String getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(String dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateOpId() {
        return createOpId;
    }

    public void setCreateOpId(String createOpId) {
        this.createOpId = createOpId;
    }

    public String getCreateOrgId() {
        return createOrgId;
    }

    public void setCreateOrgId(String createOrgId) {
        this.createOrgId = createOrgId;
    }

    public Long getDoneCode() {
        return doneCode;
    }

    public void setDoneCode(Long doneCode) {
        this.doneCode = doneCode;
    }

    public Date getDoneDate() {
        return doneDate;
    }

    public void setDoneDate(Date doneDate) {
        this.doneDate = doneDate;
    }

    public String getOpId() {
        return opId;
    }

    public void setOpId(String opId) {
        this.opId = opId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }

    public String getJobCode() {
        return jobCode;
    }

    public void setJobCode(String jobCode) {
        this.jobCode = jobCode;
    }

    public String getJobDesc() {
        return jobDesc;
    }

    public void setJobDesc(String jobDesc) {
        this.jobDesc = jobDesc;
    }

    public String getManagerLvlType() {
        return managerLvlType;
    }

    public void setManagerLvlType(String managerLvlType) {
        this.managerLvlType = managerLvlType;
    }

    public String getSetIdDept() {
        return setIdDept;
    }

    public void setSetIdDept(String setIdDept) {
        this.setIdDept = setIdDept;
    }

    public String getSetIdJobCode() {
        return setIdJobCode;
    }

    public void setSetIdJobCode(String setIdJobCode) {
        this.setIdJobCode = setIdJobCode;
    }

    public String getSetIdLocation() {
        return setIdLocation;
    }

    public void setSetIdLocation(String setIdLocation) {
        this.setIdLocation = setIdLocation;
    }

    public String getAsWorkExperience() {
        return asWorkExperience;
    }

    public void setAsWorkExperience(String asWorkExperience) {
        this.asWorkExperience = asWorkExperience;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getActionReason() {
        return actionReason;
    }

    public void setActionReason(String actionReason) {
        this.actionReason = actionReason;
    }
}
